<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WeiboAndroid: com.example.hp.weibo.FaxianActivity.QQAdapter类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WeiboAndroid
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">微博</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp.html">hp</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp_1_1weibo.html">weibo</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity.html">FaxianActivity</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html">QQAdapter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.hp.weibo.FaxianActivity.QQAdapter类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.example.hp.weibo.FaxianActivity.QQAdapter 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a61d0f990f7350f168380f4d7c2ed1dc9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html#a61d0f990f7350f168380f4d7c2ed1dc9">QQAdapter</a> (List&lt; <a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1weiboshow__1.html">weiboshow_1</a> &gt; <a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html#a1bd0af992000d021387271b7149537ce">_data</a>)</td></tr>
<tr class="separator:a61d0f990f7350f168380f4d7c2ed1dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c652e9462562ae35659c4485b576b7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html#ac0c652e9462562ae35659c4485b576b7">getItemCount</a> ()</td></tr>
<tr class="separator:ac0c652e9462562ae35659c4485b576b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab424ab2fe43f74aed8bfad2650c38a47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_holder.html">QQHolder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html#ab424ab2fe43f74aed8bfad2650c38a47">onCreateViewHolder</a> (ViewGroup parent, int viewType)</td></tr>
<tr class="separator:ab424ab2fe43f74aed8bfad2650c38a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2863ba25ce1ccb8e87d211a183c432c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html#a2863ba25ce1ccb8e87d211a183c432c8">onBindViewHolder</a> (<a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_holder.html">QQHolder</a> holder, int position)</td></tr>
<tr class="separator:a2863ba25ce1ccb8e87d211a183c432c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a1bd0af992000d021387271b7149537ce"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1weiboshow__1.html">weiboshow_1</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_adapter.html#a1bd0af992000d021387271b7149537ce">_data</a></td></tr>
<tr class="memdesc:a1bd0af992000d021387271b7149537ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据  <a href="#a1bd0af992000d021387271b7149537ce">更多...</a><br /></td></tr>
<tr class="separator:a1bd0af992000d021387271b7149537ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>适配器 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a61d0f990f7350f168380f4d7c2ed1dc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61d0f990f7350f168380f4d7c2ed1dc9">&#9670;&nbsp;</a></span>QQAdapter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">com.example.hp.weibo.FaxianActivity.QQAdapter.QQAdapter </td>
          <td>(</td>
          <td class="paramtype">List&lt; <a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1weiboshow__1.html">weiboshow_1</a> &gt;&#160;</td>
          <td class="paramname"><em>_data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>初始化数据 </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">_data</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac0c652e9462562ae35659c4485b576b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0c652e9462562ae35659c4485b576b7">&#9670;&nbsp;</a></span>getItemCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int com.example.hp.weibo.FaxianActivity.QQAdapter.getItemCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>告诉计算机，总共有多少行的数据要显示 </p>

</div>
</div>
<a id="a2863ba25ce1ccb8e87d211a183c432c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2863ba25ce1ccb8e87d211a183c432c8">&#9670;&nbsp;</a></span>onBindViewHolder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.FaxianActivity.QQAdapter.onBindViewHolder </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_holder.html">QQHolder</a>&#160;</td>
          <td class="paramname"><em>holder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>绑定数据 </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">holder</td><td></td></tr>
    <tr><td class="paramname">position</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab424ab2fe43f74aed8bfad2650c38a47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab424ab2fe43f74aed8bfad2650c38a47">&#9670;&nbsp;</a></span>onCreateViewHolder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_faxian_activity_1_1_q_q_holder.html">QQHolder</a> com.example.hp.weibo.FaxianActivity.QQAdapter.onCreateViewHolder </td>
          <td>(</td>
          <td class="paramtype">ViewGroup&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建视图，关联recycle_view_1 </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a1bd0af992000d021387271b7149537ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bd0af992000d021387271b7149537ce">&#9670;&nbsp;</a></span>_data</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1weiboshow__1.html">weiboshow_1</a>&gt; com.example.hp.weibo.FaxianActivity.QQAdapter._data</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>数据 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>G:/AndroidWork/WeiBo/app/src/main/java/com/example/hp/weibo/<a class="el" href="_faxian_activity_8java.html">FaxianActivity.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
